#pragma once
#include "CTimelineGroup.h"

class CParallelTimeline :
	public CTimelineGroup
{
protected: 
	CParallelTimeline();
	CParallelTimeline(CCoreServices * pCore);
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	virtual void GetNaturalDuration(enum DurationType * pDurationType, XFLOAT * prDurationValue);
	virtual HRESULT UpdateAnimation(XFLOAT beginTime, const XFLOAT * pParentTime, XBOOL isParentInReverse, XFLOAT combinedSpeedRatio, enum DurationType durationType, XFLOAT durationValue, XBOOL isInReverse, const COptionalFloat & expirationTime, struct IFrameScheduler * pFrameScheduler, XBOOL * pIsIndependentAnimation);
protected: 
	virtual HRESULT CloneForTarget(CRenderTarget * pRenderTarget, CTimeline * * ppTimeline);

};